﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HY.Entity
{
    /// <summary>
    /// GPS数据
    /// </summary>
    public class GPSData
    {
        public int ID { get; set; }

        public DateTime LocationTime { get; set; }

        [DecimalPrecision(10, 5)]
        public decimal Latitude { get; set; }

        [DecimalPrecision(10, 5)]
        public decimal Longitude { get; set; }

        public int Speed { get; set; }

        public int Direction { get; set; }

        [StringLength(20)]
        public string Mode { get; set; }

        [StringLength(20)]
        public string VehicleType { get; set; }
    }
}
